<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('ActionLog/index')}">操作日志</a></li>
		</ul>
        <form class="well form-search" method="post" action="{:U('ActionLog/index')}">        	
        	操作人:
            <input type="text" name="user_name" style="width: 150px;" value="{$user_name}" placeholder="请输入操作人账号">
            &nbsp;<!-- 时间：
			<input type="text" name="start_time" class="js-datetime" value="{$formget.start_time|default=''}" style="width: 120px;" autocomplete="off">-
			<input type="text" class="js-datetime" name="end_time" value="{$formget.end_time|default=''}" style="width: 120px;" autocomplete="off"> &nbsp; &nbsp; -->
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:U('ActionLog/index')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>操作人</th>
					<th>操作类型</th>
					<th>操作时间</th>
				</tr>
			</thead>
			<tbody>
		
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.user_name}</td>
				    <td>{$vo.action}</td>
			        <td>{$vo['action_time'] || date='Y-m-d H:i:s',###}</td>

				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>